//
//  ZLImpressCollectionViewCell.m
//  TripTogether
//
//  Created by dllo on 15/12/29.
//  Copyright © 2015年 杨泓晔. All rights reserved.
//

#import "ZLImpressCollectionViewCell.h"

@implementation ZLImpressCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.myImageView = [[UIImageView alloc]init];
//        self.myImageView.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:self.myImageView];
        
    }
    return self;
}

-(void)setSmaM:(ZLwaypointsModel *)smaM
{
    self.myImageView.frame = self.bounds;
    [self.myImageView sd_setImageWithURL:[NSURL URLWithString:smaM.photo] placeholderImage:PICHOLDEER];
}

@end
